//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

public class TaskModule implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private Long id;
    private Long taskId;
    @TableField(value = "module_name", condition = SqlCondition.LIKE)
    private String moduleName;
    private String moduleContent;
    private Integer orders;
    private Long createUser;
    private Long createTime;
    private Integer state;

    public TaskModule() {
    }

    public Long getId() {
        return this.id;
    }

    public Long getTaskId() {
        return this.taskId;
    }

    public String getModuleName() {
        return this.moduleName;
    }

    public String getModuleContent() {
        return this.moduleContent;
    }

    public Integer getOrders() {
        return this.orders;
    }

    public Long getCreateUser() {
        return this.createUser;
    }

    public Long getCreateTime() {
        return this.createTime;
    }

    public Integer getState() {
        return this.state;
    }

    public TaskModule setId(final Long id) {
        this.id = id;
        return this;
    }

    public TaskModule setTaskId(final Long taskId) {
        this.taskId = taskId;
        return this;
    }

    public TaskModule setModuleName(final String moduleName) {
        this.moduleName = moduleName;
        return this;
    }

    public TaskModule setModuleContent(final String moduleContent) {
        this.moduleContent = moduleContent;
        return this;
    }

    public TaskModule setOrders(final Integer orders) {
        this.orders = orders;
        return this;
    }

    public TaskModule setCreateUser(final Long createUser) {
        this.createUser = createUser;
        return this;
    }

    public TaskModule setCreateTime(final Long createTime) {
        this.createTime = createTime;
        return this;
    }

    public TaskModule setState(final Integer state) {
        this.state = state;
        return this;
    }

    public String toString() {
        return "TaskModule(id=" + this.getId() + ", taskId=" + this.getTaskId() + ", moduleName=" + this.getModuleName() + ", moduleContent=" + this.getModuleContent() + ", orders=" + this.getOrders() + ", createUser=" + this.getCreateUser() + ", createTime=" + this.getCreateTime() + ", state=" + this.getState() + ")";
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof TaskModule)) {
            return false;
        } else {
            TaskModule other = (TaskModule)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label107: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label107;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label107;
                    }

                    return false;
                }

                Object this$taskId = this.getTaskId();
                Object other$taskId = other.getTaskId();
                if (this$taskId == null) {
                    if (other$taskId != null) {
                        return false;
                    }
                } else if (!this$taskId.equals(other$taskId)) {
                    return false;
                }

                Object this$moduleName = this.getModuleName();
                Object other$moduleName = other.getModuleName();
                if (this$moduleName == null) {
                    if (other$moduleName != null) {
                        return false;
                    }
                } else if (!this$moduleName.equals(other$moduleName)) {
                    return false;
                }

                label86: {
                    Object this$moduleContent = this.getModuleContent();
                    Object other$moduleContent = other.getModuleContent();
                    if (this$moduleContent == null) {
                        if (other$moduleContent == null) {
                            break label86;
                        }
                    } else if (this$moduleContent.equals(other$moduleContent)) {
                        break label86;
                    }

                    return false;
                }

                label79: {
                    Object this$orders = this.getOrders();
                    Object other$orders = other.getOrders();
                    if (this$orders == null) {
                        if (other$orders == null) {
                            break label79;
                        }
                    } else if (this$orders.equals(other$orders)) {
                        break label79;
                    }

                    return false;
                }

                label72: {
                    Object this$createUser = this.getCreateUser();
                    Object other$createUser = other.getCreateUser();
                    if (this$createUser == null) {
                        if (other$createUser == null) {
                            break label72;
                        }
                    } else if (this$createUser.equals(other$createUser)) {
                        break label72;
                    }

                    return false;
                }

                Object this$createTime = this.getCreateTime();
                Object other$createTime = other.getCreateTime();
                if (this$createTime == null) {
                    if (other$createTime != null) {
                        return false;
                    }
                } else if (!this$createTime.equals(other$createTime)) {
                    return false;
                }

                Object this$state = this.getState();
                Object other$state = other.getState();
                if (this$state == null) {
                    if (other$state != null) {
                        return false;
                    }
                } else if (!this$state.equals(other$state)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof TaskModule;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        int result1 = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $taskId = this.getTaskId();
        result1 = result * 59 + ($taskId == null ? 43 : $taskId.hashCode());
        Object $moduleName = this.getModuleName();
        result1 = result * 59 + ($moduleName == null ? 43 : $moduleName.hashCode());
        Object $moduleContent = this.getModuleContent();
        result1 = result * 59 + ($moduleContent == null ? 43 : $moduleContent.hashCode());
        Object $orders = this.getOrders();
        result1 = result * 59 + ($orders == null ? 43 : $orders.hashCode());
        Object $createUser = this.getCreateUser();
        result1 = result * 59 + ($createUser == null ? 43 : $createUser.hashCode());
        Object $createTime = this.getCreateTime();
        result1 = result * 59 + ($createTime == null ? 43 : $createTime.hashCode());
        Object $state = this.getState();
        result1 = result * 59 + ($state == null ? 43 : $state.hashCode());
        return result1;
    }
}
